package cn.dzh.dal.mapper;


import cn.dzh.model.bean.CommodityBase;
import cn.dzh.model.bean.CommodityDraft;
import org.apache.ibatis.annotations.Mapper;
;import java.util.List;

/**
* @author Admin
* @description 针对表【commodity_base(商品基本信息表)】的数据库操作Mapper
* @createDate 2023-10-23 11:38:53
* @Entity cn.dzh.bean.CommodityBase
*/
@Mapper
public interface CommodityBaseMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(CommodityBase record);

    int insertSelective(CommodityBase record);

    CommodityBase selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CommodityBase record);

    int updateByPrimaryKey(CommodityBase record);


    int updateBygoodsId(CommodityDraft commodityDraft);

    List<CommodityBase> selectBase(CommodityBase commodityBase);

    List selectById(Integer id);
}
